package com.edu.cmsservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName BannerApplication
 * @date 2022/9/21 19:26
 * @Version 1.0
 */
@EnableDiscoveryClient //开启nacos
@EnableFeignClients //开启feign
@SpringBootApplication
@MapperScan("com.edu.cmsservice.mapper")
@ComponentScan("com.edu")
public class BannerApplication {

    public static void main(String[] args) {
        SpringApplication.run(BannerApplication.class,args);
    }
}
